﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using SpaceShooter.Common;

namespace SpaceShooter.ParticleSystem
{
    public static class ExplosionParticleSystemHelper
    {
        public static void Explode(int explosionPaticles, int explosionSmokeParticles, GameObject emitter)
        {
            for (int i = 0; i < explosionSmokeParticles; i++)
            {
                ParticleSystemManager.ExplosionSmokeParticleSystem.AddParticle(emitter.Position, Vector3.Zero /*emitter.Velocity*/);
            }

            for (int i = 0; i < explosionPaticles; i++)
            {
                ParticleSystemManager.ExplosionParticleSystem.AddParticle(emitter.Position, Vector3.Zero /*emitter.Velocity*/);
            }
        }
    }
}
